﻿using System;
using System.Collections;
using Huirui.Cavan.Presentation.Seedwork;
using Huirui.Cavan.Domain.MainBoundedContext.SalesModule;
using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;

namespace Huirui.Cavan.Presentation.ViewModel.SalesModule
{
	#region SalesOrder

    public class SalesOrderViewModel : EntityModel<SalesOrder, string, SalesOrderSearch>, ISalesOrderViewModel
    {
        public string SalesOrderDetails { get; set; }
        public decimal TaxRate { get; set; }
        public int CheckType { get; set; }
    }

    public class SalesOrderJson : BaseJson<string>
    {
        public DateTime SaleDate { get; set; }
        public DateTime DeliveryDate { get; set; }
        public string Currency { get; set; }
        public decimal CurrencyRate { get; set; }
        public string DeliveryAddress { get; set; }
        public string Remark { get; set; }
        public string SaleEmployeeCode { get; set; }
        public string CustomerCode { get; set; }
        public string WareHouseCode { get; set; }
        public decimal TaxRate { get; set; }
    }
	#endregion
}